# from django.test import TestCase
#
# # Create your tests here.
# # 自定义中间件
# class MyMiddleware(MiddlewareMixin):
#     def process_request(self, request):
#         # 获取路由
#         if request.path_info.startswith('/userinfo/'):
#             return JsonResponse({"message": '页面失踪'}, safe=False,
#                                 json_dumps_params={'ensuer_ascii': False})
#
#             # return HttpResponse(json.dumps({' message': '您篡改了uid'},ensure_ascii=False,indent=4),
#             #                     content_type= ' application/json')
#         pass
#     def process_view(self, request, view_func, view_args, view_kwargs):
#         pass
#
#     def process_exception(self, request, exception):
#         pass
#
#     def process_response(self, request, response):
#         pass


# import copy
# sourceList = [1,2,3,[4,5,6]]
# copyList = copy.copy(sourceList)
# deepcopyList = copy.deepcopy(sourceList)
#
# sourceList[3][0]=100
#
# print(sourceList)           # [1, 2, 3, [100, 5, 6]]
# print(copyList)             # [1, 2, 3, [100, 5, 6]]
# print(deepcopyList)


import re

ret = re.match(r'^1[3567]\d{9}$','17730804936')
if ret:
    print('判断成')